package com.recharge.wk.mapper;

import com.recharge.wk.domain.TradeFlow;
import org.apache.ibatis.annotations.Param;

/**
 * Created by CAOQI on 2016/12/14.
 */
public interface ITradeFlowMapper {

    TradeFlow selectByOrderIdForUpdate(@Param("chargeStatus") Short chargeStatus, @Param("orderId") String orderId);

    TradeFlow selectByOrderId(@Param("chargeStatus") Short chargeStatus, @Param("orderId") String orderId);

    TradeFlow selectBySerId(String serId);

    int updateState(TradeFlow tradeFlow);

    int updateSup(TradeFlow tradeFlow);
}
